package com.example.smart.config;

import com.example.common.config.JwtHelper;
import com.example.common.util.Utils;
import com.example.smart.pojo.Admin;
import com.example.smart.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class JwtConfig {
    @Bean
    public JwtHelper jwtHelper() {
        return new JwtHelper();
    }

    @Bean
    public User user() {
        return new User();
    }

    @Bean
    public Admin admin() {
        return new Admin();
    }
}
